package review;

public interface TestInterface {
    static final String name = "test";

    void test();

    default void test1() {
        System.out.println("test1");
    }

    static void test2() {
        System.out.println("test2");
    }
}

class TestClass implements TestInterface {
    static void test2() {
        System.out.println("test2--");
    }

    @Override
    public void test() {

    }

    public static void main(String[] args) {
        TestClass t = new TestClass();
        t.test1();
        t.test2();
        TestInterface.test2();
    }
}
